# # apps/core/urls.py
# from django.urls import path, include
# from rest_framework.routers import DefaultRouter
# from .views import ItemViewSet
#
# # 创建 router 并注册视图集
# router = DefaultRouter()
# router.register(r'items', ItemViewSet, basename='item')
#
# urlpatterns = [
#     path('', include(router.urls)),
# ]
